<template>
  <div class="b">
    page a{{$store.state.count.count}}
    <button type="button" @click="add">增加</button>
    <button type="button" @click="reduce">删减</button>
  </div>
</template>

<script>
import { mapActions } from "vuex";
export default {
  methods: mapActions("count", ["add", "reduce"])
};
</script
<style>

</style>
